import request from '@/utils/request'

// 查询工单转接列表
export function listListChangeTime(query) {
  return request({
    url: '/listChangeTime/listChangeTime/list',
    method: 'get',
    params: query
  })
}

// 查询工单转接详细
export function getListChangeTime(repairId) {
  
  return request({
    url: '/listChangeTime/listChangeTime/' + repairId,
    method: 'get'
  })
}

// 新增工单转接
export function addListChangeTime(data) {
  return request({
    url: '/listChangeTime/listChangeTime',
    method: 'post',
    data: data
  })
}

// 修改工单转接
export function updateListChangeTime(data) {
  return request({
    url: '/listChangeTime/listChangeTime',
    method: 'put',
    data: data
  })
}

// 删除工单转接
export function delListChangeTime(repairId) {
  return request({
    url: '/listChangeTime/listChangeTime/' + repairId,
    method: 'delete'
  })
}
